package com.yjd.comm.recharge.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.recharge.model.BankCodeModel;

/**
 * <b>description</b>：银行和银行编码业务接口<br>
 * <b>time</b>：2014-11-08 14:47:05 <br>
 * <b>author</b>：  renbangjie_vip@163.com
 */
public interface IBankCodeService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public BankCodeModel insert(BankCodeModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(BankCodeModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id_bank_code
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id_bank_code) throws Exception;

}
